import Layout from '@/layout'

const router = {
    path: '',
    redirect: 'noRedirect',
    component: () =>
        import ('@/views/project/index'),
    name: '复垦申请与退出',
    meta: { title: '复垦申请与退出', roles: ["复垦申请与退出"] },
    children: [{
            path: 'personApplyCheck',
            component: () =>
                import ('@/views/project/fksqtc/personApplyCheck/index'),
            redirect: '/fksqtc/personApplyCheck/list',
            name: '个人申请与审核',
            meta: { title: '个人申请与审核', roles: ["个人申请与审核"] },
            children: [{
                    path: '/fksqtc/personApplyCheck/list',
                    component: () =>
                        import ('@/views/project/fksqtc/personApplyCheck/list/index'),
                    name: '个人申请与审核入口',
                    meta: { menusMode: 0, title: '个人申请与审核', noCache: true, breadcrumb: false, activeMenu: '/fksqtc/personApplyCheck', roles: ["个人申请与审核"] },
                    hidden: true
                },
                {
                    path: 'applyDetail',
                    component: () =>
                        import ('@/views/project/fksqtc/personApplyCheck/applyDetail/index'),
                    name: '个人申请详情',
                    meta: { menusMode: 0, title: '个人申请详情', noCache: true, activeMenu: '/fksqtc/personApplyCheck', roles: ["个人申请与审核"] },
                    hidden: true
                },
                {
                    path: 'checkDetail',
                    component: () =>
                        import ('@/views/project/fksqtc/personApplyCheck/checkDetail/index'),
                    name: '个人审核详情',
                    meta: { menusMode: 0, title: '个人审核详情', noCache: true, activeMenu: '/fksqtc/personApplyCheck', roles: ["个人申请与审核"] },
                    hidden: true
                },
                {
                    path: 'add',
                    component: () =>
                        import ('@/views/project/fksqtc/personApplyCheck/add/index'),
                    name: '个人申请添加',
                    meta: { menusMode: 0, title: '添加', noCache: true, activeMenu: '/fksqtc/personApplyCheck', roles: ["个人申请与审核"] },
                    hidden: true
                }
            ]
        },
        {
            path: 'groupApplyCheck',
            name: '集体申请与审核',
            redirect: '/fksqtc/groupApplyCheck/list',
            component: () =>
                import ('@/views/project/fksqtc/groupApplyCheck/index'),
            meta: { title: '集体申请与审核', roles: ["集体申请与审核"] },
            children: [{
                    path: '/fksqtc/groupApplyCheck/list',
                    component: () =>
                        import ('@/views/project/fksqtc/groupApplyCheck/list/index'),
                    name: '集体申请与审核入口',
                    meta: { menusMode: 0, title: '集体申请与审核', noCache: true, breadcrumb: false, activeMenu: '/fksqtc/groupApplyCheck', roles: ["集体申请与审核"] },
                    hidden: true
                },
                {
                    path: 'applyDetail',
                    component: () =>
                        import ('@/views/project/fksqtc/groupApplyCheck/applyDetail/index'),
                    name: '集体申请详情',
                    meta: { menusMode: 0, title: '集体申请详情', noCache: true, activeMenu: '/fksqtc/groupApplyCheck', roles: ["集体申请与审核"] },
                    hidden: true
                },
                {
                    path: 'checkDetail',
                    component: () =>
                        import ('@/views/project/fksqtc/groupApplyCheck/checkDetail/index'),
                    name: '集体审核详情',
                    meta: { menusMode: 0, title: '集体审核详情', noCache: true, activeMenu: '/fksqtc/groupApplyCheck', roles: ["集体申请与审核"] },
                    hidden: true
                },
                {
                    path: 'add',
                    component: () =>
                        import ('@/views/project/fksqtc/groupApplyCheck/add/index'),
                    name: '集体申请添加',
                    meta: { menusMode: 0, title: '添加', noCache: true, activeMenu: '/fksqtc/groupApplyCheck', roles: ["集体申请与审核"] },
                    hidden: true
                }
            ]
        },
        {
            path: 'exitFuken',
            name: '退出复垦',
            component: () =>
                import ('@/views/project/fksqtc/exitFuken/index'),
            meta: { menusMode: 0, title: '退出复垦', roles: ["退出复垦"] }
        }
    ]

}
export default router